﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 标准角色表(树)
    /// </summary>
	[Table("FW_StandardRole")]
    [Display(Name = "标准角色表(树)", Description = "标准角色表(树)")]
    [AutoMapFrom(typeof(ViewFWStandardRole))] 
    public partial class FWStandardRoleEntity : BaseTreeEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("StandardRoleGUID")]
        [Display(Name = "标准角色表(树)主键", Description = "标准角色表(树)主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 标准角色类型GUID
        /// </summary>
		[Display(Name = "标准角色类型GUID", Description = "标准角色类型GUID")]
        [Column("StandardRoleTypeGUID")]
        public Guid? StandardRoleTypeGUID { get; set; }   

		/// <summary>
        /// 标准角色名称
        /// </summary>
		[Display(Name = "标准角色名称", Description = "标准角色名称")]
        [Column("StandardRoleName")]
		[StringLength(128)]
        public string StandardRoleName { get; set; }   

		/// <summary>
        /// 标准角色编码
        /// </summary>
		[Display(Name = "标准角色编码", Description = "标准角色编码")]
        [Column("StandardRoleCode")]
		[StringLength(128)]
        public string StandardRoleCode { get; set; }   

		/// <summary>
        /// 说明
        /// </summary>
		[Display(Name = "说明", Description = "说明")]
        [Column("StandardRoleComments")]
		[StringLength(99999)]
        public string StandardRoleComments { get; set; }   
    }
}
